const { EventEmitter } = require('events'),
      util = require('util');
function Radio(station){
  EventEmitter.call(this);
  let self = this;
  setTimeout(function(){
    self.emit('open',station);
  },0);
  setTimeout(function(){
    self.emit('stop',station);
  },5000);
}
util.inherits(Radio,EventEmitter);
module.exports = Radio;
